package com.cn.service;

import java.sql.SQLException;
import java.util.List;

import com.cn.bean.Provider;
import com.cn.entity.ProviderEntity;

public interface ProviderService {
	public List<ProviderEntity> getSTProviders()throws Exception;
	public List<ProviderEntity> getSCProviders()throws Exception;
	public List<ProviderEntity> getRecommendProviders() throws Exception;
	public boolean providerRegister(Provider provider);
	public boolean providerLogin(Provider provider);
	public String checkProviderUsername(String username);
	public boolean providerSaveCatalog(int pro_id,int sc_id);
	public List getWaitTakeOrderByProvider(int pro_id);
	public List getAllOrderByProvider(int pro_id);
	public List listAllUNAUTHORIZED();
	public void providerDetail(int pro_id);
	public List showServicePrice(int pro_id);
	public void providerRank();
	public List<ProviderEntity> listCollectedProvider()throws Exception;
	public void logout();
}
